package com.heima.model.admin.pojos;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 管理员日志表
 * </p>
 * @author itheima AdUserLog
 */
@Data
@TableName("ad_user_log")
public class AdUserLog implements Serializable {

//    @NotNull(message = "频道id不能为null")
    @TableId(value = "id")
    private Long id;

    private String methodName;
    private String requestMethod;
    private String requestPath;
    private String requestOperation;
    private String operation;//操作员用户名
    private String operationId;//操作员id

    private Long executeTime;//方法持续时间
    private String remoteddr;
    private Date createdTime; //创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestPath() {
        return requestPath;
    }

    public void setRequestPath(String requestPath) {
        this.requestPath = requestPath;
    }

    public String getRequestOperation() {
        return requestOperation;
    }

    public void setRequestOperation(String requestOperation) {
        this.requestOperation = requestOperation;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Long getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Long executeTime) {
        this.executeTime = executeTime;
    }

    public String getRemoteddr() {
        return remoteddr;
    }

    public void setRemoteddr(String remoteddr) {
        this.remoteddr = remoteddr;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}